

// 模块化路由
// 导入layout
import Layout from '@/layout'
// 设置 department 这个模块的路由
export default{
path:'/department' , //在layout页面上显示department这个模块
component:Layout,
  children:[{
    path:'',  //子路由可以为空  默认
    name:'department',
    component:()=>import('@/views/departments/departments.vue'),
    meta:{title:'组件架构',icon:'tree'}
  }]


}

